<ExtensionModel>
        
	<Runtime>
		<Import file="templates/autogen.sh.template"/>
		<Import file="templates/Makefile.am.project.template"/>
		<Import file="templates/Makefile.include"/>
		<Import file="templates/configure.ac.template"/>
		<Import file="templates/exe.wrapper.in.template"/>
		<Import file="templates/expansions.m4"/>
	</Runtime>

	<ExtensionPoint path = "/MonoDevelop/Autotools/SimpleSetups">
		<Description>Simple autotools setups. Specified classes must implement ISimpleAutotoolsSetup</Description>
		<ExtensionNode name ="Class" />
	</ExtensionPoint>

	<ExtensionPoint path = "/MonoDevelop/Autotools/MakefileHandlers">
		<Description>Makefile handlers. Specified classes must implement IMakefileHandler</Description>
		<ExtensionNode name ="Class" />
	</ExtensionPoint>

	<Extension path = "/MonoDevelop/Ide/Pads/ProjectPad">
		<NodeBuilder id = "AutotoolNodeExtension" class = "MonoDevelop.Autotools.NodeExtension"/>
	</Extension>

	<Extension path = "/MonoDevelop/ProjectModel/ProjectModelExtensions">
		<Condition id="Platform" value="!windows">
			<Class class = "MonoDevelop.Autotools.MakefileProjectServiceExtension" insertafter="FinalStep"/>
			<Class class = "MonoDevelop.Autotools.MakefileProjectExtension" insertafter="FinalStep"/>
		</Condition>
	</Extension>

	<Extension path = "/MonoDevelop/Ide/Commands">
		<Condition id="Platform" value="!windows">
			<Category _name = "Autotools" id = "Autotools">
			<Command id = "MonoDevelop.Autotools.Commands.GenerateFiles"
				_label = "Generate Makefiles..."
				description="Generate Makefiles for a solution"/>
			<Command id = "MonoDevelop.Autotools.Commands.SynchWithMakefile"
				type="check"
				_label = "Include in Synchronized Makefile" />
			</Category>
		</Condition>
	</Extension>

	<Extension path = "/MonoDevelop/Ide/ContextMenu/ProjectPad/Tools">
		<Condition id="ItemType" value="Solution|Project">
			<Condition id="Platform" value="!windows">
				<CommandItem id = "MonoDevelop.Autotools.Commands.GenerateFiles" insertafter="ExportListSeparator"/>
			</Condition>
		</Condition>
	</Extension>

	<Extension path = "/MonoDevelop/Ide/MainMenu/Project">
		<Condition id="Platform" value="!windows">
			<CommandItem id = "MonoDevelop.Autotools.Commands.GenerateFiles" insertafter="MonoDevelop.Ide.Commands.ProjectCommands.ExportSolution"/>
		</Condition>
	</Extension>

	<Extension path = "/MonoDevelop/Ide/ContextMenu/ProjectPad/QuickProperties">
		<Condition id="Platform" value="!windows">
			<Condition id="ItemType" value="ProjectFile">
				<CommandItem id = "MonoDevelop.Autotools.Commands.SynchWithMakefile" />
			</Condition>
		</Condition>
	</Extension>

	<Extension path = "/MonoDevelop/Ide/Pads/ProjectPad">
		<Condition id="Platform" value="!windows">
			<NodeBuilder class = "MonoDevelop.Autotools.FileNodeBuilderExtension"/>
		</Condition>
	</Extension>

	<Extension path = "/MonoDevelop/DeployService/PackageBuilders">
		<Condition id="Platform" value="!windows">
			<Condition id="Platform" value="!windows">
				<Class class="MonoDevelop.Autotools.TarballDeployTarget" />
			</Condition>
		</Condition>
	</Extension>

	<Extension path = "/MonoDevelop/Deployment/PackageBuilderEditors">
		<Condition id="Platform" value="!windows">
			<Condition id="Platform" value="!windows">
				<Class class="MonoDevelop.Autotools.TarballTargetEditor" />
			</Condition>
		</Condition>
	</Extension>

	<Extension path = "/MonoDevelop/ProjectModel/SerializableClasses">
		<DataType class = "MonoDevelop.Autotools.TarballDeployTarget" />
	</Extension>

	<Extension path = "/MonoDevelop/ProjectModel/Gui/ItemOptionPanels/Common">
		<Condition id="Platform" value="!windows">
			<Condition id="ItemType" value="Project">
				<Section id= "Makefile" _label = "Makefile Integration"
					class = "MonoDevelop.Autotools.MakefileOptionPanel" />
			</Condition>
		</Condition>
	</Extension>

	<Extension path = "/MonoDevelop/DesignerSupport/PropertyProviders">
		<Condition id="Platform" value="!windows">
			<Class class = "MonoDevelop.Autotools.PropertyProvider"/>
		</Condition>
	</Extension>

	<Extension path = "/MonoDevelop/Core/Applications">
		<Condition id="Platform" value="!windows">
			<Application id = "generate-makefiles" class = "MonoDevelop.Autotools.MakefileGeneratorTool" description = "Makefile generator tool"/>
		</Condition>
	</Extension>

	<Extension path = "/MonoDevelop/Autotools/MakefileHandlers">
		<Condition id="Platform" value="!windows">
			<Class class = "MonoDevelop.Autotools.SolutionMakefileHandler"/>
			<Class class = "MonoDevelop.Autotools.SimpleProjectMakefileHandler"/>
		</Condition>
	</Extension>
</ExtensionModel>
